home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Speccy ClassiX 1998
/
Speccy ClassiX 98.iso
/
amiga_system
/
the_aminet
/
dev
/
gcc
/
libmat.lha
/
src
/
mconst4.cc
< prev
next >
Wrap
C/C++ Source or Header
|
1980-01-01
|
283b
|
18 lines
// MATRIX LIB
// TOMMY JOHANSSON 1995
#include "matrix.h"
Matrix::Matrix(const Matrix& A)
{
#ifdef DEBUG
puts("Initierar matris frσn en annan.");
#endif
int i,j;
koff=alloc(A.m+1,A.n+1);
m=A.m;
n=A.n;
for(i=1;i<=m;i++)
for(j=1;j<=n;j++)
koff[i][j]=A.koff[i][j];
}